package com.dlnu.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import com.dlnu.config.Entity;

import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bed extends Entity{

	private Integer id;

	@Length(max = 50)
	private String bno;

	private Integer dormitoryId;

	private Map<String,Object> student;

}